package com.sugar.service;

import com.sugar.entity.MyProperties;

public class MyServiceImpl implements MyService{
    private final MyProperties properties;

    public MyServiceImpl(MyProperties properties) {
        this.properties = properties;
    }

    @Override
    public String getName() {
        return properties.getName();
    }
}
